<template>
    <div>
        <PageTitle>个人中心</PageTitle>
        <div class="pages-top pages-scroll">
            <div>

            </div>
        </div>
        <Tabbar></Tabbar>
    </div>
</template>
<script>
import PageTitle from "../components/PageTitle.vue";
import Tabbar from "../components/Tabbar.vue";
export default {
    components:{PageTitle,Tabbar},
    data(){
        return {
            userInfo:{}
        }
    },
    mounted(){
        if(!sessionStorage.userInfo){
            return location.hash = "/login";
        }else{
            this.userInfo = JSON.parse(sessionStorage.userInfo);
        }

    }
}
</script>
<style scoped>

</style>